<?php

namespace app\api\controller;

use app\api\model\UserConsumeLog;
use app\common\controller\Api;


/**
 * 会员收益接口
 */
class Income extends Api
{
    protected $noNeedRight = '*';


    //我的消费
    public function lists()
    {
        //$page = input('page',1);
        $status = input('status',0);//0已付款,1退款/售后
        $consume_log_model = new UserConsumeLog();
        $lists = $consume_log_model->lists($this->auth->id,$status);
        $this->success('',$lists);
    }

}